<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<div>
		<img src="sky.jpg" alt="">	
	</div>
	

<script src="jquery-3.3.1.min.js"></script>
<script>
	var t1=new Date();
	window.onload=function (argument) {
		// body...
		var t2=new Date();
		console.log(t2-t1);
	}
	$(function(){
		var t3=new Date();
		console.log(t3-t1);
	})
</script>
</body>
</html>